Optimal. Leaf size=139 \[ \frac {(a+b x)^{1+m} (c+d x)^{-m-n} \left (\frac {b (c+d x)}{b c-a d}\right )^{m+n} (e+f x)^{n+p} \left (\frac {b (e+f x)}{b e-a f}\right )^{-n-p} F_1\left (1+m;m+n,-n-p;2+m;-\frac {d (a+b x)}{b c-a d},-\frac {f (a+b x)}{b e-a f}\right )}{b (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 139, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {145, 144, 143}
\begin {gather*} \frac {(a+b x)^{m+1} (c+d x)^{-m-n} (e+f x)^{n+p} \left (\frac {b (c+d x)}{b c-a d}\right )^{m+n} \left (\frac {b (e+f x)}{b e-a f}\right )^{-n-p} F_1\left (m+1;m+n,-n-p;m+2;-\frac {d (a+b x)}{b c-a d},-\frac {f (a+b x)}{b e-a f}\right )}{b (m+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 143
Rule 144
Rule 145
Rubi steps
\begin {align*} \int (a+b x)^m (c+d x)^{-m-n} (e+f x)^{n+p} \, dx &=\left ((c+d x)^{-m-n} \left (\frac {b (c+d x)}{b c-a d}\right )^{m+n}\right ) \int (a+b x)^m \left (\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}\right )^{-m-n} (e+f x)^{n+p} \, dx\\ &=\left ((c+d x)^{-m-n} \left (\frac {b (c+d x)}{b c-a d}\right )^{m+n} (e+f x)^{n+p} \left (\frac {b (e+f x)}{b e-a f}\right )^{-n-p}\right ) \int (a+b x)^m \left (\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}\right )^{-m-n} \left (\frac {b e}{b e-a f}+\frac {b f x}{b e-a f}\right )^{n+p} \, dx\\ &=\frac {(a+b x)^{1+m} (c+d x)^{-m-n} \left (\frac {b (c+d x)}{b c-a d}\right )^{m+n} (e+f x)^{n+p} \left (\frac {b (e+f x)}{b e-a f}\right )^{-n-p} F_1\left (1+m;m+n,-n-p;2+m;-\frac {d (a+b x)}{b c-a d},-\frac {f (a+b x)}{b e-a f}\right )}{b (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.24, size = 137, normalized size = 0.99 \begin {gather*} \frac {(a+b x)^{1+m} (c+d x)^{-m-n} \left (\frac {b (c+d x)}{b c-a d}\right )^{m+n} (e+f x)^{n+p} \left (\frac {b (e+f x)}{b e-a f}\right )^{-n-p} F_1\left (1+m;m+n,-n-p;2+m;\frac {d (a+b x)}{-b c+a d},\frac {f (a+b x)}{-b e+a f}\right )}{b (1+m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \left (b x +a \right )^{m} \left (d x +c \right )^{-m -n} \left (f x +e \right )^{n +p}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (e+f\,x\right )}^{n+p}\,{\left (a+b\,x\right )}^m}{{\left (c+d\,x\right )}^{m+n}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________